<template>
	<view class="view">
		<view class="login">
			<text>修改密码</text>
		</view>
		<view style="margin-top: 10%;">
			<uni-forms ref="form" >
				<uni-forms-item label="原密码" name="">
					<uni-easyinput  v-model="user.userPassword"placeholder="请输入原来的密码"  />
				</uni-forms-item>
				<uni-forms-item label="新密码" name="">
					<uni-easyinput  v-model="user.userPassword" placeholder="请输入新密码"  type="password"/>
				</uni-forms-item>
				<uni-forms-item label="确认密码" name="">
					<uni-easyinput  v-model="user.userPassword" placeholder="请确认密码"  type="password"/>
				</uni-forms-item>
				<uni-forms-item label="" name="">
					<button type="primary" @click="passwode">提交</button>
				</uni-forms-item>
			</uni-forms>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				password:{
					userPassword:"",
					newsPassword:"",
					confirmPassword:""
					
				},
				user:{}
			}
		},
		methods: {
			passwode(){
				
			}
		},
		onLoad() {
			if (uni.getStorageSync('token')) {
				this.user = uni.getStorageSync('token')
			}
		}
	}
</script>

<style>
page,
	.view {
		width: 100%;
		height: 100%;
		// background-color:#D3D3D3 ;
	}
.login{
	margin-left: 10%;
	margin-top: 10%;
	font-size: 24px;
	font-weight: bold;
}
</style>
